-
Notifications
You must be signed in to change notification settings - Fork 0
Improve mkcert installation support for multiple package managers #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve mkcert installation support for multiple package managers #64
Conversation
- Add support for Arch Linux (pacman), Ubuntu/Debian (apt), CentOS/RHEL (yum), and Fedora (dnf) - Replace generic "Homebrew not available" error with specific installation instructions - Provide clear guidance for manual installation across different Linux distributions - Improve user experience when mkcert is not installed Fixes the issue where Arch Linux users would get an unhelpful error message about Homebrew not being available, even though mkcert is available via pacman.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
- Remove unsupported package managers (apt, yum, dnf) - Keep only Homebrew and pacman as officially supported - Install both nss and mkcert packages for pacman - Execute pacman installation automatically like brew
|
Thanks for the review @paolomainardi! I've addressed all your feedback:
The pacman installation now works the same way as Homebrew. |
|
thanks! |
User description
Summary
Problem
Currently, when
mkcertis not installed on non-macOS systems, users get an unhelpful error message:This is particularly problematic on Arch Linux where
mkcertis available viapacman, but users were only told about Homebrew.Solution
The
install_mkcert()function now:Test plan
Example output on Arch Linux
PR Type
Enhancement
Description
Add support for multiple Linux package managers (pacman, apt, yum, dnf)
Replace generic Homebrew error with specific installation instructions
Provide comprehensive manual installation guidance for all distributions
Improve user experience with clear package manager detection
Changes walkthrough 📝
spark-http-proxy
Enhanced mkcert installation with multi-package manager supportbin/spark-http-proxy